<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>海沧区公共安全主题资源管理系统</title>
  <link rel="stylesheet" href="public/libs/layui/css/layui.css">
  <link rel="stylesheet" href="public/css/main.css">
</head>

<body class="min-w">
  <div class="login" id="vSign">
    <div class="login-wrap">
      <div class="title">
        <img class="logo" src="public/images/login/logo.png" style="width: 60px;" /> 海沧区公共安全主题资源管理系统
      </div>
      <div class="form-wrap clearfix">
        <div class="pull-left content-left">
          <span id="info" class="err-info" v-text="errorText"></span>
          <form class="layui-form" action="post" id="login-form">
            <div class="layui-form-item">
              <div class="">
                <input type="text" lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input" v-model.trim="formData.username">
              </div>
            </div>
            <div class="layui-form-item">
              <div class="">
                <input type="password" lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input" v-model.trim="formData.password">
              </div>
            </div>
            <div class="layui-form-item">
              <div class="layui-input-inline">
                <input type="text" id="ma" name="captcha" required  lay-verify="required" placeholder="请输入验证码" autocomplete="off" class="layui-input" v-model.trim="formData.captcha">
              </div>
              <img class="verify pull-right" style="cursor: pointer;" title="验证码" width="90" height="37" :src="captchaSrc" @click="refreshCode"/>
            </div>
            <div class="layui-form-item">
              <button type="button" id="loginBtn" class="layui-btn layui-btn-normal btn-submit mix-with" @click="login">登 录</button>
            </div>
          </form>
        </div>
        <div class="pull-right content-right">
          <img src="public/images/login/banner.png">
        </div>
      </div>
      <p class="copyright">Copyright © 2018 国脉海洋信息发展有限公司</p>
    </div>
  </div>
  <script src="public/libs/jquery-2.1.1.min.js"></script>
  <script src="public/libs/vue.js"></script>
  <script src="public/js/sign.js"></script>
</body>
</html>